package com.love_weinuo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/3/23.
 * 0 待拼单 1待付定金 2 代付付款 3  待作业 4 已完成
 */

public class MyOrderCallbackBean implements Serializable {
    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"area":1184,"landid":21,"money":"9.20","pesticide":"这就是药品","endtime":"2019-04-22 00:00:00","sumarea":3000,"pordernum":781066426,"starttime":"2019-03-22 00:00:00","orderstate":2}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable {
        /**
         * res : [{"area":1184,"landid":21,"money":"9.20","pesticide":"这就是药品","endtime":"2019-04-22 00:00:00","sumarea":3000,"pordernum":781066426,"starttime":"2019-03-22 00:00:00","orderstate":2}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public class ResEntity implements Serializable {
            /**
             * area : 1184
             * landid : 21
             * money : 9.20
             * pesticide : 这就是药品
             * endtime : 2019-04-22 00:00:00
             * sumarea : 3000
             * pordernum : 781066426
             * starttime : 2019-03-22 00:00:00
             * orderstate : 2
             */
            private String pname;
            private int area;
            private int landid;
            private String money;
            private String pesticide;
            private String endtime;
            private int sumarea;
            private int pordernum;
            private String starttime;
            private int orderstate;

            public String getPname() {
                return pname;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }

            public void setArea(int area) {
                this.area = area;
            }

            public void setLandid(int landid) {
                this.landid = landid;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public void setPesticide(String pesticide) {
                this.pesticide = pesticide;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public void setSumarea(int sumarea) {
                this.sumarea = sumarea;
            }

            public void setPordernum(int pordernum) {
                this.pordernum = pordernum;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public void setOrderstate(int orderstate) {
                this.orderstate = orderstate;
            }

            public int getArea() {
                return area;
            }

            public int getLandid() {
                return landid;
            }

            public String getMoney() {
                return money;
            }

            public String getPesticide() {
                return pesticide;
            }

            public String getEndtime() {
                return endtime;
            }

            public int getSumarea() {
                return sumarea;
            }

            public int getPordernum() {
                return pordernum;
            }

            public String getStarttime() {
                return starttime;
            }

            public int getOrderstate() {
                return orderstate;
            }
        }
    }
}
